<template>
  <div :style="spacing" class="spacing">
    <span v-show="show"> 已有{{all}}人参与</span>
  </div>
</template>

<script>
export default {
  props: ['message',
    'show'],
  data () {
    return {
      spacing: {
        backgroundColor: 'WhiteSmoke',
        width: '100%',
        height: this.message
      },
      all: 29
    }
  }
}
</script>
<style lang='scss'>
.spacing {
    span {
        padding-top: 20px;
        color: gray;
        font-size: 17px;
        letter-spacing: 2px;
        font-weight: bold;
    }
}
</style>
